<?php
    require_once('../code/global.php');
    require_once('/code/Admin.php');
    $admin=new Admin();
    $admin->loginCheck(1);    
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Xiaosha Sculpture 后台管理系统</title>
        <link rel="stylesheet" href="/styles/admin.css" type="text/css" media="all">
    </head>
    <body>
        <div id="adminContainer">
            <div id="adminHeader">
                Xiaosha Sculpture 后台管理系统 V1.0
            </div>
            <div id="adminMenu">
                您好 <?php echo '[<a href="accountInfo.php" target="ifrAdmin">'.$admin->username.'</a>]'; ?>
                <form name="login" action="exec.php" method="post">
                    <input type="hidden" name="action" value="adminLogout">
                    <input class="btnCN" type="submit" name="logout" value="注销" >
                </form><br />
                <a href="mailto:camel025@hotmail.com?subject=Xiaosha Sculpture website tech support needed&body=Webmaster, xiaoshatan.com has encountered the following problem: ">::: 遇到问题？:::</a>
                <div class="stripe"></div>
                <ul>
                    <li><a href="siteInfo.php" target="ifrAdmin">网站设置</a></li>
                    <li><a href="category.php" target="ifrAdmin">作品分类</a></li>
                    <li><a href="artists.php" target="ifrAdmin">>雕塑家<</a></li>
                    <li><a href="items.php" target="ifrAdmin">作品管理</a></li>
                    <li><a href="news.php" target="ifrAdmin">新闻管理</a></li>
                </ul>
                <div class="stripe"></div>
                <div id="homeLnkDiv"><a href="/" target="_blank">PhotoFromThe1st</br>首页</a></div>
            </div>
            <div id="adminBody">
                <iframe name="ifrAdmin" id="ifrAdmin" src="accountInfo.php" scrolling="no" marginheight="0" marginwidth="0" frameborder="0"></iframe>
            </div>
            <div id="adminFooter">&copy2011 FutureStudio | Camel
            </div>    
        </div>
    </body>
</html>